﻿.b-is-autocomplete .fui-MenuPopover {
    width: 100%;
    max-height: var(--autocomplete-menu-max-height, 200px);
    overflow-y: scroll;

    .fui-MenuList {
        width: 100%;

        .fui-MenuItem.b-is-autocomplete-suggestion {
            width: 100%;
            display: flex;

            &:not(.b-is-autocomplete-suggestion-checkbox) {
                display: contents;
            }

            .fui-MenuItem__content {
                &:not([aria-disabled="true"]) {
                    &:focus,
                    &:focus-visible {
                        outline-style: none;
                    }

                    &:hover {
                        background-color: var(--colorNeutralBackground1Hover);
                        color: var(--colorNeutralForeground2Hover);

                        &:active {
                            background-color: var(--colorNeutralBackground1Pressed);
                            color: var(--colorNeutralForeground2Pressed);
                        }
                    }
                }
            }
        }
    }
}
